import {request} from './request'

export function setRoles(url ,data){
    return request({
        url,
        data,
        method : "post"
    })
}

export function changeRoles(url){
    return request({
        url
    })
}

export function setChangeRoles(url,data){
    return request ({
        url,
        data,
        method : 'put'
    })
}

export function deleteRoles(url){
    return request({
        url,
        method : 'delete'
    })
}